﻿using System;
using System.Collections.Generic;
using System.Text;

namespace He.API.WeiXin
{
    public class Buttons
    {
        private List<Button> _button;

        public List<Button> button
        {
            get
            {
                return this._button;
            }
            set
            {
                this._button = value;
            }
        }


        public class Button
        {
            private string _type;
            private string _name;
            private string _key;
            private string _url;
            private List<SubButton> _sub_button;

            public string type
            {
                get
                {
                    return this._type;
                }
                set
                {
                    this._type = value;
                }
            }

            public string name
            {
                get
                {
                    return this._name;
                }
                set
                {
                    this._name = value;
                }
            }

            public string key
            {
                get
                {
                    return this._key;
                }
                set
                {
                    this._key = value;
                }
            }

            public string url
            {
                get
                {
                    return this._url;
                }
                set
                {
                    this._url = value;
                }
            }

            public List<SubButton> sub_button
            {
                get
                {
                    return this._sub_button;
                }
                set
                {
                    this._sub_button = value;
                }
            }

            public class SubButton
            {
                private string _type;
                private string _name;
                private string _key;
                private string _url;

                public string type
                {
                    get
                    {
                        return this._type;
                    }
                    set
                    {
                        this._type = value;
                    }
                }

                public string name
                {
                    get
                    {
                        return this._name;
                    }
                    set
                    {
                        this._name = value;
                    }
                }

                public string key
                {
                    get
                    {
                        return this._key;
                    }
                    set
                    {
                        this._key = value;
                    }
                }

                public string url
                {
                    get
                    {
                        return this._url;
                    }
                    set
                    {
                        this._url = value;
                    }
                }
            }
        }
    }
}
